import Vue from 'vue'
import App from './App'
import router from './router'

import $ from 'jquery'

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

import BootstrapVue from 'bootstrap'
import 'bootstrap/dist/css/bootstrap.css'

import '@/assets/css/style.css'
import '@/assets/css/iconfont.css'

import VueI18n from 'vue-i18n'

Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)
Vue.use(BootstrapVue)
Vue.use(VueI18n)

const i18n = new VueI18n({
  locale: 'en',
  messages: {
      'zh': require('./components/common/lang/zh.json'),
      'en': require('./components/common/lang/en.json')
  }
})

new Vue({
  el: '#app',
  router,
  i18n,
  components: { App },
  template: '<App/>' 
})
